<script>

Father.prototype.name = 'gailun'
function Father(){
    
}

function Son(){

}
Son.prototype = Object.create(Father.prototype)
var son = new Son()

</script>